﻿using Gurucore.Framework.DataAccess;
using Gurucore.Framework.DataAccess.Persistence.QueryLanguage;

namespace Gurucore.FrameworkTest.DataAccess
{
	[MappedTable]
	public class Group
	{
		public static readonly ColumnOperand ID = new ColumnOperand("Group", "Id");
		public static readonly ColumnOperand NAME = new ColumnOperand("Group", "Name");
		public static readonly ColumnOperand DESCRIPTION = new ColumnOperand("Group", "Description");

		[MappedColumn]
		public virtual int Id { get; set; }

		[MappedColumn]
		public virtual string Name { get; set; }

		[MappedColumn]
		public virtual string Description { get; set; }
	}
}
